package com.xuecheng.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("分页查询请求参数接收类")
public class PageParams {

    @ApiModelProperty("当前页码,默认值1")
    private Long pageNo = 1L;

    @ApiModelProperty("每页记录数,默认值10")
    private Long pageSize = 10L;

}